package com.zjm.behavioral.state;

/**
 * 奖品发放完毕状态
 */
public class DispenseOutState extends State {

    RaffleActivity raffleActivity;

    public DispenseOutState(RaffleActivity raffleActivity) {
        this.raffleActivity = raffleActivity;
    }

    @Override
    public void deductMoney() {
        System.out.println("奖品发放完了，请下次再来");
    }

    @Override
    public boolean raffle() {
        System.out.println("奖品发放完了，请下次再来");
        return false;
    }

    @Override
    public void dispensePrize() {
        System.out.println("奖品发放完了，请下次再来");
    }
}
